﻿using System.Reflection;
using LINQtoFxCop.Core;

namespace LINQtoFxCop.DomainSpecific
{
  internal abstract class DomainSpecificIntrospectionRule : CoreIntrospectionRule
  {
    private const string _RESOURCE_NAME = "LINQtoFxCop.DomainSpecific.DomainSpecificMetaData";
    private static readonly Assembly _ruleAssembly = typeof(DomainSpecificIntrospectionRule).Assembly;
    protected DomainSpecificIntrospectionRule(string ruleName)
      : base(ruleName, _RESOURCE_NAME, _ruleAssembly)
    { }
    internal static Assembly Assembly
    { get { return _ruleAssembly; } }
    internal static string ResourceName
    { get { return _RESOURCE_NAME; } }
  }
}
